package com.ruoyi.common.workflow.service;

import com.ruoyi.workflow.api.domain.ActBusinessStatus;

import java.util.List;

public interface IBusinessStatusService {

    /**
     * 根据业务id查询流程实例
     * @param businessKey
     * @return
     */
    ActBusinessStatus getInfoByBusinessKey(String businessKey);

    /**
     * 根据业务id集合查询流程实例
     * @param businessKeys
     * @return
     */
    List<ActBusinessStatus> getListInfoByBusinessKey(List<String> businessKeys);
}
